﻿using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using DrawTools.Forms;

namespace DrawTools
{
  internal static class Program
  {
    [DllImport("user32.dll")]
    private static extern bool SetProcessDPIAware();

    /// <summary>
    ///   The main entry point for the application.
    /// </summary>
    [STAThread]
    private static void Main()
    {
      if (Environment.OSVersion.Version.Major >= 6)
        SetProcessDPIAware();

      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);

      Application.Run(new CaptureForm());
    }
  }
}